PopMenu allows you to use Pop up menus in 4D layouts. To do so, you have to create an external area in a layout and give PopMenu as the associated routine. To define the content of the Pop up menu you use the DefinePopMenu routine. To get the ID and text of the item selected by the user, you use GetPopMenu.